from foftact.db.dbutil import pooled_db

# 从连接池获取连接
conn = pooled_db.connection()
#获取游标
cursor = conn.cursor()
#执行sql
tmp = cursor.execute('select * from fund limit 100;')
#提交事务
conn.commit()